package cn.wolfcode.crm.service;

import cn.wolfcode.crm.domain.Role;
import cn.wolfcode.crm.page.PageResult;
import cn.wolfcode.crm.query.QueryObject;

import java.util.List;

public interface IRoleService {

    PageResult query(QueryObject qo);

    void save(Role role);

    void edit(Role role);

    List<Role> listAll();

    List<Integer> listIdsByEmployeeId(Long employeeId);

    List<String> getRoleSnByEmployeeId(Long employeeId);
}
